package com.ddm.constant;

import javax.swing.plaf.PanelUI;

public class VXConstant {
    public static final int SINGLE_CHOICE_SCORE = 3;
    public static final int MULTIPLE_CHOICE_SCORE = 5;
    public static final String EXAM_QUESTIONS_KEY = "exam:questions:";
    public static final String QUESTION_ANSWER_KEY ="question:answer";
    public static final long CACHE_TTL = 4;//缓存时长
    
    // 公告类型常量
    public static final int ANNOUNCEMENT_TYPE_COMPETITION = 0;
    public static final int ANNOUNCEMENT_TYPE_TRAINING = 1;
    public static final int ANNOUNCEMENT_TYPE_ACTIVITY = 2;
    public static final int ANNOUNCEMENT_TYPE_OTHER = 3;
    
    // 考试限时常量
    public static final int DEFAULT_EXAM_DURATION = 60; // 默认考试时长60分钟
    public static final int MIN_EXAM_DURATION = 10;     // 最小考试时长10分钟
    public static final int MAX_EXAM_DURATION = 180;    // 最大考试时长180分钟
}
